<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/MainSite.Master"
    AutoEventWireup="true" CodeBehind="Linea.aspx.cs" Inherits="ShoppingCart.WebSite.Admin.Linea" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cpHead" runat="server">

    <script type="text/javascript">
        function ValidarForm() {
            var val = true;
            if (!val) {
                alert('Debe completar los campos que son obligatorios(*).');
                return false;
            }
            else {
                return true;
            }
        }      
    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cpContent" runat="server">
    <div class="block">
        <div class="block_head">
            <div class="bheadl">
            </div>
            <div class="bheadr">
            </div>
            <h2>
                <asp:Literal ID="litAccion" runat="server"></asp:Literal>
                Linea</h2>
        </div>
        <div class="block_content">
            <div class="form">
                <p>
                    <label>
                        <span class="note">*</span> Nombre:</label><br />
                    <asp:TextBox ID="txtNombre" runat="server" CssClass="text" MaxLength="255" /></p>
                <p>
                    <label>
                        Descripcion:</label><br />
                    <asp:TextBox ID="txtDescripcion" runat="server" CssClass="text" TextMode="MultiLine"
                        Height="100px" /></p>
                <p>
                    <label>
                        <span class="note">*</span> Imagen:</label><br />
                    <asp:FileUpload ID="fupImagen" runat="server" />
                </p>
                <asp:Literal ID="litMensaje" runat="server"></asp:Literal>
                <hr />
                <p style="text-align: right;">
                    <span class="note" style="float: left;">Las casillas marcadas con * son obligatorias.</span>
                    <asp:Button ID="btnGuardar" runat="server" Text="Guardar" CssClass="submit mid" OnClick="BtnGuardarClick"
                        OnClientClick="return ValidarForm();" />
                    <asp:Button ID="btnCancelar" runat="server" Text="Cancelar" CssClass="submit mid"
                        PostBackUrl="~/Admin/Lineas.aspx" />
                </p>
            </div>
        </div>
        <div class="bendl">
        </div>
        <div class="bendr">
        </div>
    </div>
</asp:Content>
